package com.lyncs.ods.req;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author alex
 * @date 2022-05-05 12:46
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class PartnerRelationReq {

    @ApiModelProperty("发出邀请的企业id")
    @NotNull
    private Long companyId;

    @ApiModelProperty("被关联的B类企业初始id")
    private Long initCompanyId;

    @ApiModelProperty("接受邀请的企业id")
    @NotNull
    private Long relationId;

    @ApiModelProperty("关系类型:1.供应商;2.客户。多个用逗号分隔")
    @NotNull
    private String type;
}
